Skip to content

Log a stable FAQ_ASSISTANT_UNAVAILABLE marker when posting the FAQ fallback - #42

Merged
alexeygrigorev merged 2 commits into
mainfrom
fix/faq-unavailable-alert
Nov 23, 2026
Merged

alexeygrigorev merged 2 commits into
mainfrom
fix/faq-unavailable-alert

Conversation

@alexeygrigorev

Copy link
Copy Markdown
Member

The 2026-11-23 13:32 UTC "FAQ assistant is currently not available" reply
(faq-assistant returned 500: index built on Python 3.13, runtime 3.14) only
produced an INFO log line; the Lambda returned 200, nothing counted it and no
alarm watched it, so nobody was alerted.

The failure now logs at error level with a fixed FAQ_ASSISTANT_UNAVAILABLE
prefix plus status, course and channel. A CloudWatch metric filter and alarm
(aws-infra main/automator) match it and notify operator-alerts. The
user-visible fallback reply is unchanged.

Hub intake b54e7be8

…llback

The 2026-11-23 13:32 UTC "FAQ assistant is currently not available" reply
(faq-assistant returned 500: index built on Python 3.13, runtime 3.14) only
produced an INFO log line; the Lambda returned 200, nothing counted it and no
alarm watched it, so nobody was alerted.

The failure now logs at error level with a fixed FAQ_ASSISTANT_UNAVAILABLE
prefix plus status, course and channel. A CloudWatch metric filter and alarm
(aws-infra main/automator) match it and notify operator-alerts. The
user-visible fallback reply is unchanged.

Hub intake b54e7be8
workflow_dispatch faq_probe=true asks the live FAQ assistant one question with
the URL and shared secret from the automator Lambda config (masked) and fails
unless /ask returns 200 with an answer. No Slack posts.

Hub intake b54e7be8
@alexeygrigorev
alexeygrigorev merged commit ae9c594 into main Nov 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant